package dependent;

public class Goods {
	private String name;
	private double price;
	private int count;
	
	public Goods(){}
	public Goods(String n,double p,int c){
		name = n;
		price = p;
		count = c;
	}
	
	public void setName(String n){
		name = n;
	}
	public void setPrice(double p){
		price = p;
	}
	public void setCount(int c){
		count = c;
	}
	public String getName(){
		return name;
	}
	public double getPrice(){
		return price;
	}
	public int getCount(){
		return count;
	}
}
